package com.yidu.ladder.base.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 角色包装类
 * 
 * @author yy
 * @since 2019-12-2
 */
public class RoleVo implements Serializable {
	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -4691618576193725316L;

	/**
	 * 角色Id
	 */
	private String roleId;

	/**
	 * 角色名
	 */
	private String roleName;

	/**
	 * 所属组织类型Id
	 */
	private String subsetId;

	/**
	 * 所属组织类型名
	 */
	private String subsetName;

	/**
	 * 描述
	 */
	private String description;

	/**
	 * 是否可用
	 */
	private String useable;

	private Date createTime;

	/**
	 * 开始索引
	 */
	private Integer page;

	/**
	 * 查询行数
	 */
	private Integer limit;

	/**
	 * 无参数的构造方法
	 */
	public RoleVo() {

	}

	/**
	 * 带有参数的构造方法
	 * 
	 * @param roleId      角色Id
	 * @param roleName    角色名
	 * @param subsetId    所属组织类型Id
	 * @param subsetName  所属组织类型名
	 * @param description 描述
	 * @param useable     是否可用
	 * @param createTime  创建时间
	 * @param page        开始索引
	 * @param limit       查询行数
	 */

	public RoleVo(String roleId, String roleName, String subsetId, String subsetName, String description,
			String useable, Date createTime, Integer page, Integer limit) {
		super();
		this.roleId = roleId;
		this.roleName = roleName;
		this.subsetId = subsetId;
		this.subsetName = subsetName;
		this.description = description;
		this.useable = useable;
		this.createTime = createTime;
		this.page = page;
		this.limit = limit;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getSubsetId() {
		return subsetId;
	}

	public void setSubsetId(String subsetId) {
		this.subsetId = subsetId;
	}

	public String getSubsetName() {
		return subsetName;
	}

	public void setSubsetName(String subsetName) {
		this.subsetName = subsetName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getUseable() {
		return useable;
	}

	public void setUseable(String useable) {
		this.useable = useable;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	@Override
	public String toString() {
		return "RoleVo [roleId=" + roleId + ", roleName=" + roleName + ", subsetId=" + subsetId + ", subsetName="
				+ subsetName + ", description=" + description + ", useable=" + useable + ", createTime=" + createTime
				+ ", page=" + page + ", limit=" + limit + "]";
	}

}
